- Identifiers: public, void, etc...

1. Identifiers that programmers create (Ex. Quote)
Are not allowed to start with a digit:

4all ---> Invalid
forAll ---> Valid
Camel Casing naming convention

A_Quote_By_AbrahamLincoln
2. Reserved identifiers (public, void, etc...)

- String literals:

"" vs " "
"This is valid string"

System.out.println(data) ---> data: parameter
- Concatenation operator: +

4 + 5 ---> 9
"4" + 5 ---> "4" + "5" ---> "45" (Conversion via promotion)
4 + "5" ---> "45"
"4" + "5" ---> "45"

4.0 + 5 ---> 9.0
"4.0" + 5 ---> "4.05"
meta data: data about the data

4 + "5" + 6 ---> "45" + 6 ---> "456"
4 + (5 + "6") ---> 4 + "56" ---> "456"

- How do I print 2 backslashes out?

System.out.println("\\\\"); ===> this prints \\
System.out.println("////"); ===> this prints //// 
--------------------------------------------------------
Aside:
Time is scarce
Time logging

Renewable resource: energy
Time/energy management
--------------------------------------------------------

Variables:
Location in the memory given a name

double pi = 3.14; // Initialization statement

(Declare Initialize Use)
double pi; // Declaration statement
pi = 3.14; // Assignment statement

System.out.println(pi);
System.out.println(pi);

pi = 3.1416;

.... We did 100 times

int val1 = 3, val2 = 2;
int result = val1 + val2;
System.out.print(result);

Java is a strongly typed language
int result = 3.5; // Compile-time error
double result = 3; // Valid

Python is loosely typed

----> Final thought:
Constants:
final double PI = 3.14;

























 